<%--
  Created by IntelliJ IDEA.
  User: LCJ
  Date: 2017/6/16
  Time: 9:55
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@include file="adminHeader.jsp" %>
<div id="form">
    <form action="/students/search" method="post">
        <input type="text" placeholder="关键字" name="no"/>
        <<input type="submit" value="检索">
    </form>
</div>
<div>
    <table border="1" cellpadding="0" cellspacing="0"
           style="width: 900px;border: #0affe7;align-content: center;font-size: 16px;text-align: center">
        <tr style="height: 30px;background: #00CCFF;color: white">
            <td>编号</td>
            <td>学号</td>
            <td>姓名</td>
            <td>性别</td>
            <td>电话号码</td>
        </tr>
        <c:forEach items="${students}" var="student">
        <tr>
            <td>${student.id}</td>
            <td>${student.no}</td>
            <td>${student.name}</td>
            <td>
                <c:if test="${student.sex==0}">男</c:if>
                <c:if test="${student.sex==1}">女</c:if>
            </td>
            <td>${student.tell}</td>
        </tr>
        </c:forEach>
        <tr>
</div>
<%@include file="tear.jsp"%>